<app-managerportal *ngIf="user.hasRole(1)"></app-managerportal>
<app-channelportal *ngIf="user.hasRole(2)"></app-channelportal>
<app-salesportal *ngIf="user.hasRole(6)"></app-salesportal>
<app-userportal *ngIf="user.hasRole(5)"></app-userportal>
<div class="modal fade" bsModal #agreementModal="bs-modal"
	[config]="{backdrop: false}" tabindex="-1" role="dialog"
	aria-labelledby="mySmallModalLabel" aria-hidden="true" (onHidden)="dealWithFirstLogin()">
	<div class="modal-dialog modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title">网络信息安全告知书</h4>
			</div>
			<div class="modal-body">
				<cloud-agreement (hide)="agreementModal.hide()"></cloud-agreement>
			</div>
		</div>
	</div>
</div>